package com.dks.models;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

public class Reward implements Serializable{

    private static final long serialVersionUID =  1L;

    public Reward(){
    }

    /**  */
    private Long id;
    /** 家长id */
    private Long parentId;
    /** 来源：1、完成作业，2、完成线下课，3、评价老师，4、邀请用户注册，5、邀请的用户购买了课程，6、邀请的用户体验了课程，7、完成注册 */
    private Integer rewardStatus;
    /** 评价内容 */
    private String commend;
    /** 奖励类型：1、妍值,2、学分 */
    private Integer rewardType;
    /** 分值 */
    private Integer rewardCount;
    /** 创建人 */
    private Long createUserId;
    /** 创建时间 */
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime gmtCreateTime;
    /** 修改人 */
    private Long modifyUserId;
    /** 修改时间 */
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime gmtModifyTime;
    /** 有效状态 0可用 1不可用 */
    private Integer recStatus;

	public final Long getId() {
        return this.id;
	}

	public final void setId(final Long id) {
        this.id = id;
	}

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public final Integer getRewardStatus() {
        return this.rewardStatus;
	}

	public final void setRewardStatus(final Integer rewardStatus) {
        this.rewardStatus = rewardStatus;
	}

	public final String getCommend() {
        return this.commend;
	}

	public final void setCommend(final String commend) {
        this.commend = commend;
	}

	public final Integer getRewardType() {
        return this.rewardType;
	}

	public final void setRewardType(final Integer rewardType) {
        this.rewardType = rewardType;
	}

	public final Integer getRewardCount() {
        return this.rewardCount;
	}

	public final void setRewardCount(final Integer rewardCount) {
        this.rewardCount = rewardCount;
	}

	public final Long getCreateUserId() {
        return this.createUserId;
	}

	public final void setCreateUserId(final Long createUserId) {
        this.createUserId = createUserId;
	}


	public final Long getModifyUserId() {
        return this.modifyUserId;
	}

	public final void setModifyUserId(final Long modifyUserId) {
        this.modifyUserId = modifyUserId;
	}


    public final Integer getRecStatus() {
        return this.recStatus;
	}

	public final void setRecStatus(final Integer recStatus) {
        this.recStatus = recStatus;
	}

}
